//---------------------------------------------------------------------------

#ifndef f_OrdenadoresH
#define f_OrdenadoresH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Time.h>
#include "classeOrdenadores.h"
//---------------------------------------------------------------------------
class TfrmOrdenadores : public TForm
{
__published:	// IDE-managed Components
	TPanel *Panel1;
	TButton *btnInserir;
	TButton *btnAleatorio;
	TButton *btnOrdenar;
	TButton *btnLimpar;
	TListBox *lstValores;
	TListBox *lstBubbleSort;
	TLabel *Label1;
	TLabel *Label2;
	TLabel *Label3;
	TLabel *Label4;
	TLabel *Label5;
	TListBox *lstInsertionSort;
	TListBox *lstMergeSort;
	TListBox *lstQuickSort;
	TListBox *lstSelectionSort;
	TEdit *edtValor;
	TLabel *Label7;
	TLabel *Label6;
	TLabel *Label8;
	TEdit *edtTempoBubble;
	TLabel *Label9;
	TEdit *edtTempoInsertion;
	TLabel *Label10;
	TEdit *edtTempoMerge;
	TLabel *Label11;
	TEdit *edtTempoQuick;
	TLabel *Label12;
	TEdit *edtTempoSelection;
	void __fastcall edtValorKeyPress(TObject *Sender, char &Key);
	void __fastcall btnLimparClick(TObject *Sender);
	void __fastcall btnAleatorioClick(TObject *Sender);
	void __fastcall btnInserirClick(TObject *Sender);
	void __fastcall btnOrdenarClick(TObject *Sender);
	void __fastcall FormShow(TObject *Sender);
private:	// User declarations
	void atualiza();
	Ordenadores * ordOrdenadores;
public:		// User declarations
	__fastcall TfrmOrdenadores(TComponent* Owner, Ordenadores * ordOrdenador);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmOrdenadores *frmOrdenadores;
//---------------------------------------------------------------------------
#endif
